lib: Add an API to construct a `MutableTree` from a commit
authorColin Walters <walters@verbum.org>
Thu, 30 Sep 2021 17:21:15 +0000 (13:21 -0400)
committerColin Walters <walters@verbum.org>
Fri, 1 Oct 2021 13:34:19 +0000 (09:34 -0400)
commit868776a2961069b3502a24d36cd6e38e058a22ee
treed50baaf8ff51a063026fcc483e097f7d481651dd
parent5bf4b1dabc12d6caee4f4899c9388a48bb4a72a3
lib: Add an API to construct a `MutableTree` from a commit

This is nicer than having the caller parse the commit
object, or indirect via the `OstreeRepoFile*` object of the root.

Will be used in ostree-rs-ext around tar parsing.
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-mutable-tree.c
src/libostree/ostree-mutable-tree.h
src/ostree/ot-builtin-commit.c